import request from '@/utils/request.js'
const prefixUrl = "/proInfo"
// export function login(userInfo) {
//     return request.post(prefixUrl + "/Login", userInfo)
// }
export const productService = () => {
    const getProductList = async (params) => {
        return await request.get(prefixUrl + "/getProductList", params)

    }
    const findProduct = async (params) => {
        return await request.get(prefixUrl + "/findProduct", parmas)
    }
    return {
        getProductList,
        findProduct
    }
}